// 导入request.js请求工具
import request from '@/utils/request.js'
// 获取用户信息
export const getUserOneApi = () => {
    return request.get('/user/getuser')
}
// 获取用户订单
export const getOrderUserPageApi = (params) => {
    return request.get('/order/userPage',{
        params
    })
}
// 修改用户的接口
export const editUserApi = (userData) => {
    return request.put('/user', userData);
}